﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using PetaPoco;

namespace BrnMall.Manager.Domain.Restaurant
{
    /// <summary>
    /// 排队队列
    /// </summary>
    [TableName("bma_linequeue")]
    public class LineQueue
    {
        /// <summary>
        /// 主键
        /// </summary>
        public long Id { get; set; }
        /// <summary>
        /// 店铺ID
        /// </summary>
        public int StoreId { get; set; }
        /// <summary>
        /// 排队项
        /// </summary>
        public int LineId { get; set; }
        /// <summary>
        /// 排队人
        /// </summary>
        public int Uid { get; set; }
        /// <summary>
        /// 当前编号
        /// </summary>
        public int LineNumber { get; set; }
        /// <summary>
        /// 状态0排队中，1正叫号，3已就餐，4已过号
        /// </summary>
        public int QueueState { get; set; }
        /// <summary>
        /// 取号时间
        /// </summary>
        public DateTime CreateTime { get; set; }
        /// <summary>
        /// 前缀
        /// </summary>
        public string StartCode { get; set; }

    }
}
